import { configureStore } from "@reduxjs/toolkit"
import componentReducer, { ComponentStateType } from "./componentReducer/index"


export type StateType = {
    components: ComponentStateType
}


export default configureStore({
    reducer: {
        //分模块
        components: componentReducer
    }

})